import React, { PureComponent } from 'react';

import Footer from "@/components/Footer";
import style from "./index.module.scss";
import store from "@/store"

export default class index extends PureComponent {

  goLogin=()=>{
    this.props.history.push("/Login");
  }

  render() {
    console.log("store.getState()",store.getState());
    return (
      <div className={style.homebox} >
        <h1>我的</h1>
        <input type="button" value="登录" onClick={this.goLogin} />
        <div className={style.footer}>
          <Footer></Footer>
        </div>
      </div>
    )
  }
}
